<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>已有报告上传</title>
		<link rel="stylesheet" type="text/css" href="../css/vue.css"/>
		<link rel="stylesheet" type="text/css" href="../css/common.css"/>
		<link rel="stylesheet" type="text/css" href="../css/myProject.css"/>
	</head>
	<body>
		<!--公共头部 start-->
		<div class="commonHead">
			<div class="commonHeadLeft">
				<a href="javascript:void(0);"><img src="../img/indexLogo.png" class="houseLogo"/></a>
			</div>
			<div class="commonHeadCenter">
				<ul>
					<li>
						<a class="active">项目圈</a>
					</li>
					<li>
						<a>材料数据库</a>
					</li>
					<li>
						<a>计算工具</a>
					</li>
					<li class="clear"></li>
				</ul>
			</div>
			<div class="commonHeadRight">
				<div class="infoCenter">
					<a href="javascript:void(0);">
						<span class="iconfont-tcl">&#xe643;</span>
						<span class="infoCenterText">消息中心</span>
						<span class="remindCircle"></span>
					</a>
				</div>
				<div class="loginInfo">
					<el-dropdown trigger="click">
						<span class="el-dropdown-link">
						    Kdd<i class="el-icon-caret-bottom el-icon--right"></i>
						</span>
						<el-dropdown-menu slot="dropdown">
						    <el-dropdown-item>账号设置</el-dropdown-item>
						    <el-dropdown-item>退出</el-dropdown-item>
						</el-dropdown-menu>
					</el-dropdown>
				</div>
				<div class="clear"></div>
			</div>
			<div class="clear"></div>
		</div>
		<!--公共头部 end-->
		
		<!--公共侧边栏 start-->
		<div class="commonSide">
			<div class="sideTitle">项目圈</div>
			<ul class="sideMenu">
				<li>
					<a href="javascript:void(0);">
						<span class="iconfont">&#xe611;</span>
						<span>我的项目</span>
					</a>
				</li>
				<li class="active">
					<a href="javascript:void(0);">
						<span class="iconfont">&#xe60e;</span>
						<span>我的材料库</span>
					</a>
				</li>
				<li>
					<a href="javascript:void(0);">
						<span class="iconfont">&#xe610;</span>
						<span>我的收藏</span>
					</a>
				</li>
			</ul>
		</div>
		<!--公共侧边栏 end-->
		
		<!--内容 start-->
		<div class="content">
			<div class="contentTop">
				<a class="contentBack">
					<span class="iconfont">&#xe60a;</span>
					<span class="backText">返回</span>
				</a>
				<span class="contentSever">|</span>
				<div class="contentTitle">我的材料库</div>
				<span class="contentTitleSever">></span>
				<div class="contentSecondTitle">在线生成</div>
				<div class="clear"></div>
			</div>
			
			<!--项目圈内容 start-->
			<div class="reported">
				<div class="projectBox">

					<div class="stepStatus">
						<div class="step">
							<div class="stepDec active">
								<div class="stepNum"><i class="el-icon-check"></i></div>
								<div class="stepName">基本信息</div>
							</div>
							<div class="stepLine">
								<div class="prepareLine hidden"></div>
								<div class="finishLine"></div>
							</div>
							<div class="clear"></div>
						</div>
						<div class="step">
							<div class="stepDec active">
								<div class="stepNum">2</div>
								<div class="stepName">实验数据</div>
							</div>
							<div class="stepLine">
								<div class="prepareLine hidden"></div>
								<div class="finishLine "></div>	
							</div>
							<div class="clear"></div>
						</div>
						<div class="step">
							<div class="stepDec active">
								<div class="stepNum">3</div>
								<div class="stepName">特性参数</div>
							</div>
							<div class="clear"></div>
						</div>
						<div class="clear"></div>
					</div>
				</div>
				
				<div class="projectBox">
					<div class="wid100">
						<button class="greenBtn mr10">上传报告</button>
						<button class="whiteBtn">图示</button>
					</div>
					<ul class="reportedForm">
						<li class="reportedFormTitle">
							<div>污染物</div>
							<div>E1</div>
							<div>K1</div>
							<div>E2</div>
							<div>K2</div>
							<div>操作</div>
						</li>
						<li class="reportedFormList">
							<div>甲醛</div>
							<div><input type="text" class="wid50"></div>
							<div><input type="text" class="wid50"></div>
							<div><input type="text" class="wid50"></div>
							<div><input type="text" class="wid50"></div>
							<div><a href="javascript:void(0);" class="delete">删除</a></div>
						</li>
					</ul>
					<div class="addLine">
						<a href="javascript:void(0);">
							<i class="el-icon-plus"></i>
							<span class="ml5">添加一行</span>
						</a>
					</div>
					<div class="btnBox">
						<button class="whiteLargerBtn mr10">保存</button>
						<button class="greenLargerBtn">提交审核</button>
					</div>
				</div>
			
				
			</div>
			<!--项目圈内容 end-->
		</div>
		<!--内容 end-->
		
	</body>
	<script type="text/javascript" src="../js/jquery.min.js"></script>
	<script type="text/javascript" src="../js/vue.js"></script>
	<script type="text/javascript" src="../js/vueComponent.js"></script>
	<script type="text/javascript" src="../js/component.js"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			//获取content最小高度
			var contentMinHeight = $(window).innerHeight() - 60;
			$('.content').css('min-height',contentMinHeight + 'px');
			//获取content宽度
			var contentWidth = $(window).innerWidth() - 180;
			$('.content').css('width',contentWidth + 'px');
			
			//添加和删除控制
			$('.addLine a').click(function(){
				var liText = "<li class='reportedFormList'><div>甲醛</div><div><input type='text' class='wid50'></div><div><input type='text' class='wid50'></div><div><input type='text' class='wid50'></div><div><input type='text' class='wid50'></div><div><a href='javascript:void(0);' class='delete'>删除</a></div></li>";
				$('.reportedForm').append(liText);
			});
			//删除
			$(document).on('click','.delete',function(){
				$(this).closest('.reportedFormList').remove();
			});
			
			
		});
		
		var loginInfo = new Vue({
			el:'.loginInfo'
		});
		 
		var reported = new Vue({
			el:'.reported',
		});
	</script>
</html>
